CRITICAL when $_SESSION is null / Argument 2 passed to dot_array_search() must be [] #2450
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
newest version.
CRITICAL - 2019-12-10 19:17:06 --> Argument 2 passed to dot_array_search() must be of the type array, null given, called in /home/zdamy/site/system/Session/Session.php on line 500
#0 /home/zdamy/site/system/Session/Session.php(500): dot_array_search('ausItem', NULL)
#1 /home/zdamy/site/system/Common.php(347): CodeIgniter\Session\Session->get('ausItem')
#2 /home/zdamy/site/app/Models/AdminUserModel.php(87): session('ausItem')
BTW/ I am not sure if that method should not look like:
Each pull request should address a single issue and have a meaningful title.
Description
Explain what you have changed, and why.
Checklist:
---------Remove from here down in your description----------
Notes
(e.g. fixes 12345)
to the develop branch of the project repository